add support Lease-based leader election (rather than ConfigMaps) #1877#2314
add support Lease-based leader election (rather than ConfigMaps) #1877#2314rvlane wants to merge 1 commit intokubernetes-client:masterfrom
Conversation
…rnetes-client#1877 Signed-off-by: Lane Richard <rick.lane@nokia.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rvlane The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
|
|
Welcome @rvlane! |
|
@Invictus17 - can you please review this also? Thankis |
|
I'm not able to assign myself as reviewer @rvlane. |
|
@rvlane do you intend to complete the CLA/can you confirm your contribution is licensed under the Apache License 2.0? I'm interested in adapting it for inclusion in kubernetes_asyncio, but I need to first ensure that its inclusion is legitimate. Thanks! |
|
@JacobHenner I have been added to my company CLA and have approved the CLA just now. |
|
/assign @Invictus17 @roycaihw |
|
@roycaihw: GitHub didn't allow me to request PR reviews from the following users: Invictus17. Note that only kubernetes-client members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
/remove-lifecycle stale |
roycaihw
left a comment
There was a problem hiding this comment.
LGTM overall. Could you add a test?
|
|
||
| class LeaderElectionRecord: | ||
| # Annotation used in the lock object | ||
| # Lease configuration from in the lock object. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
|
@k8s-triage-robot: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Enhance leaderelection module to support V1Lease based lease lock.
Which issue(s) this PR fixes:
Fixes #1877
Special notes for your reviewer:
Have coded this such that the LeaderElectionRecord is unchanged to ensure backward compatibility with anyone using the existing structures.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: